package innerclass.a01demo1;

public class Test {
    public static void main(String[] args) {

    }
}

class Car {
    String carName;
    int age;
    String color;

    public void method(){
        Engine e=new Engine();
        System.out.println(e.engineName);
    }

    class Engine {
        String engineName;
        int engineAge;

        public void show() {
            System.out.println(carName);
        }
    }

}